///////////////////////////////////////////////////////////
//  EditTemplateCommand.h
//  Implementation of the Class EditTemplateCommand
//  Created on:      21-Sep-2013 12:08:33 PM
//  Original author: Jakkaphan Aiemcharoenjit
///////////////////////////////////////////////////////////

#if !defined(EA_1175AAE0_CB39_42ab_9CD1_1D741A73CCBC__INCLUDED_)
#define EA_1175AAE0_CB39_42ab_9CD1_1D741A73CCBC__INCLUDED_

#include "ICommand.h"
#include "CTemplateView.h"
#include "CCreateTemplateView.h"

namespace UI
{
  namespace CMD
  {
    class EditTemplateCommand : public ICommand
    {

    public:
      EditTemplateCommand(CCreateTemplateView* createTemplate, CTemplateView* _template);
      virtual ~EditTemplateCommand();
      virtual void Execute();
      
      virtual ICommand::CommandType GetType();

    private:
      ICommand::CommandType m_type;
      CCreateTemplateView* m_createTemplateView;
      CTemplateView* m_templateView;

    };

  }
}

#endif // !defined(EA_1175AAE0_CB39_42ab_9CD1_1D741A73CCBC__INCLUDED_)
